<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>后盾人</title>
  </head>
  <body></body>
  <script>
    let arr = [1, 2, 3, 4, 5];
    arr.splice(0, 0, "后盾人");
    // arr.splice(1, 0, "后盾人", "hdcms", "houdunren");
    // arr.splice(1, 1, "后盾人");
    // let hd = arr.splice(0, 3, "hdcms", "houdunren");
    // console.log(hd);
    console.table(arr);
    // let hd = arr.slice(1);
    // console.log(hd);
    // console.table(arr);
  </script>
</html>
